package com.prs.crm.service.oa.impl;

import com.prs.crm.dao.oa.CommentDao;
import com.prs.crm.domain.oa.Announcement;
import com.prs.crm.domain.oa.AnnouncementReceive;
import com.prs.crm.domain.oa.Comment;
import com.prs.crm.domain.oa.News;
import com.prs.crm.domain.oa.NewsReceive;
import com.prs.crm.domain.oa.Notice;
import com.prs.crm.domain.oa.NoticeAccept;
import com.prs.crm.domain.oa.PictureNews;
import com.prs.crm.domain.oa.PictureNewsReceive;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.oa.CommentService;

public class CommentServiceImpl extends BaseServiceImpl<Comment,CommentDao> implements CommentService{

	@Override
	public Comment getCommentByNews(News news) {
		// TODO Auto-generated method stub
		return this.getDao().getCommentByNews(news);
	}

	@Override
	public Comment getCommentByPictureNews(PictureNews pictureNews) {
		// TODO Auto-generated method stub
		return this.getDao().getCommentByPicture(pictureNews);
	}

	@Override
	public Comment getCommentByAnnouncement(Announcement announcement) {
		// TODO Auto-generated method stub
		return this.getDao().getCommentByAnnouncement(announcement);
	}

	@Override
	public Comment getCommentByNotice(Notice notice) {
		// TODO Auto-generated method stub
		return this.getDao().getCommentByNotice(notice);
	}

	@Override
	public Comment getCommentByNotice(PictureNewsReceive pictureNewsReceive) {
		return this.getDao().getCommentByNotice(pictureNewsReceive);
	}

	@Override
	public Comment getCommentByNotice(AnnouncementReceive announcementReceive) {
		return this.getDao().getCommentByNotice(announcementReceive);
	}

	@Override
	public Comment getCommentByNotice(NoticeAccept noticeAccept) {
		return this.getDao().getCommentByNotice(noticeAccept);
	}

	@Override
	public Comment getCommentByNotice(NewsReceive newsReceive) {
		return this.getDao().getCommentByNotice(newsReceive);
	}

}
